package org.example.StudentManagementSystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "学生数据传输对象")
@Setter
@Getter
public class StudentDTO {
    @Schema(description = "学生ID", example = "1")
    private Integer id;

    @Schema(description = "学生姓名", example = "张三")
    private String name;

    @Schema(description = "学生年龄", example = "20")
    private int age;

    @Schema(description = "学生性别，0表示未知，1表示男性，2表示女性", example = "1")
    private int gender;

    @Schema(description = "学生邮箱", example = "zhangsan@example.com")
    private String email;

    @Schema(description = "学生电话", example = "13800138000")
    private String phone;

    @Schema(description = "班级ID", example = "1")
    private Integer classId;

    @Schema(description = "班级名称", example = "计算机科学与技术")
    private String className;
}
